import org.junit.Assert;
import org.junit.Test;


public class Group6Test {

	@Test
	public void testTelephone() {

		String n= "0123456789";
		boolean expected= true;
		Group6 tmp = new Group6();
		
		boolean result= tmp.checkTelephone(n);
		Assert.assertEquals("Test Fails", expected, result);
		
	}
	@Test
	public void testTelephone2() {
		
		String n= "0123abthw9";
		boolean expected= false;
		Group6 tmp = new Group6();
		
		boolean result= tmp.checkTelephone(n);
		Assert.assertEquals("Test Fails", expected, result);
	}
	@Test
	public void testTelephone3() {
		
		String n= "01239";
		boolean expected= false;
		Group6 tmp = new Group6();
		
		boolean result= tmp.checkTelephone(n);
		Assert.assertEquals("Test Fails", expected, result);
	}

}
